#include <stdio.h>

#include <stdlib.h>
#include <time.h>

#define MINE_NUM 8
#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

Init_board(char arr[ROWS][COLS], int rows, int cols, char set);

print_board(char arr[ROWS][COLS], int row, int col);

set_ming(char mine[ROWS][COLS], int row, int col);

player_go(char mine[ROWS][COLS], char show[11][11], int row, int col);

int is_mine_num(char mine[ROWS][COLS], int x, int y);
